package com.operate.api.app.user.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class AppUserVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "用户ID")
    private String id;
    @ApiModelProperty(value = "用户名称")
    private String userName;
    @ApiModelProperty(value = "用户头像")
    private String useImg;
    @ApiModelProperty(value = "密码是否设置(1 是 2 否)")
    private Integer isPassword;
    @ApiModelProperty(value = "用户手机号")
    private String userPhone;
    @ApiModelProperty(value = "充值总金额")
    private BigDecimal rechargeMoney;
    @ApiModelProperty(value = "用户余额(豆子)")
    private BigInteger userBalance;
    @ApiModelProperty(value = "是否开启青少年模式 1 是 2 否")
    private Integer isYoung;
    @ApiModelProperty(value = "青少年特定商户ID")
    private String youngCompanyId;
    @ApiModelProperty(value = "注册时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
}
